// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import VueRouter from 'vue-router'
import VueResource from 'vue-resource'
import Mint from 'mint-ui'
import 'mint-ui/lib/style.css'

import './css/weui.min.css'
import './css/flex.css'
import './css/transition.css'

import App from './App'
import routes from './router'

Vue.use(VueRouter)
Vue.use(VueResource)
Vue.use(Mint)
// Vue.config.debug = true

const router = new VueRouter({
  // mode: 'history',
  routes
})

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  render: h => h(App)
}).$mount('#app')
